﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfApp_MvvmWindowBus.Base;

namespace WpfApp_MvvmWindowBus.ViewModel;

public class SubMainViewModel
{
	private string? _subValue;

	public string? SubValue
	{
		get { return _subValue; }
		set { _subValue = value; }
	}


	public Command SubBtnAcceptClickCommand { get; set; }

    public SubMainViewModel()
    {
		SubBtnAcceptClickCommand = new Command(obj => 
		{
			WindowProvider.AcceptWindow("SubMainWindow");
		},null);
    }
}
